﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Masterpage.Master"
    CodeBehind="Albums.aspx.vb" Inherits="VintageCars.Albums" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <ajax:ToolkitScriptManager ID="scriptmanager1" runat="server">
    </ajax:ToolkitScriptManager>
    <ajax:CollapsiblePanelExtender ID="cpeRegistration" runat="server" TargetControlID="pnlRegistrationDetails"
        ExpandControlID="pnlRegistrationTitle" CollapseControlID="pnlRegistrationTitle"
        Collapsed="true">
    </ajax:CollapsiblePanelExtender>
    <asp:Panel ID="pnlRegistrationTitle" CssClass="AccodionHeader" runat="server" Width="100%"
        Height="40px" Visible="true" BorderColor="Silver" BackColor="Gray">
        <table width="100%" class="desOutertable">
            <tr>
                <td>
                    <span style="font-weight: bold;">Click Here To Upload Images & View Comments/Description</span>
                </td>
                <td width="10%">
                    &nbsp;
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="pnlRegistrationDetails" runat="server" Width="100%" Visible="true">
        <table class="desOutertable">
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Name
                </td>
                <td>
                    <asp:LoginName ID="LoginName1" runat="server" Height="16px" Width="184px" />
                    <%--<asp:TextBox ID="txtCarName" runat="server" Height="16px" Width="184px"></asp:TextBox>--%>
                </td>
                <td>
                    Select Category
                </td>
                <td>
                    <asp:DropDownList ID="ddlCars" runat="server" CssClass="desaTB" Height="20px" Width="190px"
                        DataTextField="Car_Names" DataValueField="ID" DataSourceID="SqlDataSource1">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:carsconn %>"
                        ProviderName="<%$ ConnectionStrings:carsconn.ProviderName %>" SelectCommand="SELECT [ID], [Car_Names] FROM [Cars_Category]">
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    Upload Picture
                </td>
                <td>
                    <asp:FileUpload ID="imgCar" runat="server" />
                </td>
                <td>
                    Leave a Comment/Description
                </td>
                <td>
                    <asp:TextBox ID="txtDes" runat="server" TextMode="MultiLine" Height="70px" Width="185px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td align="right">
                    <asp:Button ID="Button1" runat="server" Text="Submit" />
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
        </table>
        <table class="desOutertable">
            <tr>
                <td align="center">
                    <div style="position: relative; vertical-align: top; height: 300px; overflow: auto;
                        width: 1000px">
                        <asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource5"
                            Width="100%" DataKeyNames="ID">
                            <Columns>
                                <asp:BoundField DataField="Uploader_UName" HeaderText="User Name" SortExpression="Uploader_UName">
                                    <HeaderStyle HorizontalAlign="Center" BackColor="Gray" ForeColor="Black" Font-Bold="True">
                                    </HeaderStyle>
                                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="Picture" HeaderStyle-BackColor="Gray">
                                    <ItemTemplate>
                                        <asp:Image ID="Image1" ImageUrl='<%# Eval("Img_Loc") %>' runat="server" CssClass="imgsize"
                                            align="middle" />
                                        <headerstyle horizontalalign="Center" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="CC_ID" HeaderText="Comment/Description" SortExpression="CC_ID"
                                    Visible="false" />
                                <asp:BoundField DataField="C_Desc" HeaderText="Comment/Description" SortExpression="C_Desc">
                                    <HeaderStyle HorizontalAlign="Center" BackColor="Gray" ForeColor="Black" Font-Bold="True">
                                    </HeaderStyle>
                                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundField>
                            </Columns>
                        </asp:GridView>
                        <asp:SqlDataSource ID="SqlDataSource5" runat="server" ConnectionString="<%$ ConnectionStrings:carsconn %>"
                            ProviderName="<%$ ConnectionStrings:carsconn.ProviderName %>" SelectCommand="SELECT * FROM [Cars_UserUploads]">
                        </asp:SqlDataSource>
                    </div>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <br />
    <div id="cat" style="text-align: right">
        <asp:ListView ID="lvCarNames" runat="server" DataKeyNames="ID" DataSourceID="SqlDataSource1">
            <AlternatingItemTemplate>
                <li style="">
                    <asp:LinkButton CommandName="Select" ID="catNameLabel" runat="server" Text='<%# Eval("Car_Names") %>' />
                    <asp:Image ID="imgFolder" runat="server" ImageUrl="~/Images/folder.png" Height="40px" />
                    <br />
                </li>
            </AlternatingItemTemplate>
            <EmptyDataTemplate>
                No Information Found
            </EmptyDataTemplate>
            <ItemSeparatorTemplate>
                <br />
            </ItemSeparatorTemplate>
            <ItemTemplate>
                <li style="">
                    <asp:LinkButton CommandName="Select" ID="catNameLabel" runat="server" Text='<%# Eval("Car_Names") %>'>
                    </asp:LinkButton>
                    <asp:Image ID="imgFolder" runat="server" ImageUrl="~/Images/folder.png" Height="40px"
                        CssClass="aR" />
                    <br />
                </li>
            </ItemTemplate>
            <LayoutTemplate>
                <ul id="itemPlaceholderContainer" runat="server" style="">
                    <li runat="server" id="itemPlaceholder" />
                </ul>
            </LayoutTemplate>
            <SelectedItemTemplate>
                <li style="">
                    <asp:Label ID="lblCarName" runat="server" Text='<%# Eval("Car_Names") %>' />
                    <br />
                </li>
            </SelectedItemTemplate>
        </asp:ListView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:carsconn %>"
            ProviderName="<%$ ConnectionStrings:carsconn.ProviderName %>" SelectCommand="SELECT [Car_Names], [ID] FROM [Cars_Category]">
        </asp:SqlDataSource>
    </div>
    <div>
        <asp:Panel ID="pnlTempest" runat="server" Width="100%" Visible="true">
            <table style="border: Solid 3px #c0c0c0; width: 700px; height: 400px" cellpadding="0"
                cellspacing="0">
                <tr style="background-color: #c0c0c0">
                    <td style="height: 10%; color: White; font-weight: bold; font-size: larger" align="center">
                        <asp:Label ID="lblTitle" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Image ID="imgslides" runat="server" Height="400px" Width="700px" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Label ID="lblimgdesc" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button ID="btnPrevious" runat="server" Text="Prev" CssClass="button" />
                        <asp:Button ID="btnPlay" runat="server" Text="Play" CssClass="button" />
                        <asp:Button ID="btnNext" runat="server" Text="Next" CssClass="button" />
                    </td>
                </tr>
            </table>
            <ajax:SlideShowExtender ID="SlideShowExtender1" runat="server" AutoPlay="true" ImageTitleLabelID="lblTitle"
                ImageDescriptionLabelID="lblimgdesc" Loop="true" NextButtonID="btnNext" PreviousButtonID="btnPrevious"
                PlayButtonID="btnPlay" PlayButtonText="Play" StopButtonText="Stop" TargetControlID="imgslides"
                SlideShowServicePath="Slideshow.asmx" SlideShowServiceMethod="GetSlides">
            </ajax:SlideShowExtender>
        </asp:Panel>
    </div>
    <div>
        <asp:Panel ID="pnlBoss" runat="server" Width="100%" Visible="true">
            <table style="border: Solid 3px #c0c0c0; width: 700px; height: 400px" cellpadding="0"
                cellspacing="0">
                <tr style="background-color: #c0c0c0">
                    <td style="height: 10%; color: White; font-weight: bold; font-size: larger" align="center">
                        <asp:Label ID="lblTitle2" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Image ID="imgslides2" runat="server" Height="400px" Width="700px" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Label ID="lblimgdesc2" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button ID="btnPrevious2" runat="server" Text="Prev" CssClass="button" />
                        <asp:Button ID="btnPlay2" runat="server" Text="Play" CssClass="button" />
                        <asp:Button ID="btnNext2" runat="server" Text="Next" CssClass="button" />
                    </td>
                </tr>
            </table>
            <ajax:SlideShowExtender ID="SlideShowExtender2" runat="server" AutoPlay="true" ImageTitleLabelID="lblTitle2"
                ImageDescriptionLabelID="lblimgdesc2" Loop="true" NextButtonID="btnNext2" PreviousButtonID="btnPrevious2"
                PlayButtonID="btnPlay2" PlayButtonText="Play" StopButtonText="Stop" TargetControlID="imgslides2"
                SlideShowServicePath="Slideshow.asmx" SlideShowServiceMethod="GetSlides2">
            </ajax:SlideShowExtender>
        </asp:Panel>
    </div>
    <div>
        <asp:Panel ID="pnlChevelleSS" runat="server" Width="100%" Visible="true">
            <table style="border: Solid 3px #c0c0c0; width: 700px; height: 400px" cellpadding="0"
                cellspacing="0">
                <tr style="background-color: #c0c0c0">
                    <td style="height: 10%; color: White; font-weight: bold; font-size: larger" align="center">
                        <asp:Label ID="lblTitle3" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Image ID="imgslides3" runat="server" Height="400px" Width="700px" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Label ID="lblimgdesc3" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button ID="btnPrevious3" runat="server" Text="Prev" CssClass="button" />
                        <asp:Button ID="btnPlay3" runat="server" Text="Play" CssClass="button" />
                        <asp:Button ID="btnNext3" runat="server" Text="Next" CssClass="button" />
                    </td>
                </tr>
            </table>
            <ajax:SlideShowExtender ID="SlideShowExtender3" runat="server" AutoPlay="true" ImageTitleLabelID="lblTitle3"
                ImageDescriptionLabelID="lblimgdesc3" Loop="true" NextButtonID="btnNext3" PreviousButtonID="btnPrevious3"
                PlayButtonID="btnPlay3" PlayButtonText="Play" StopButtonText="Stop" TargetControlID="imgslides3"
                SlideShowServicePath="Slideshow.asmx" SlideShowServiceMethod="GetSlides3">
            </ajax:SlideShowExtender>
        </asp:Panel>
    </div>
    <div>
        <asp:Panel ID="pnlCOPO" runat="server" Width="100%" Visible="true">
            <table style="border: Solid 3px #c0c0c0; width: 700px; height: 400px" cellpadding="0"
                cellspacing="0">
                <tr style="background-color: #c0c0c0">
                    <td style="height: 10%; color: White; font-weight: bold; font-size: larger" align="center">
                        <asp:Label ID="lblTitle4" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Image ID="imgslides4" runat="server" Height="400px" Width="700px" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Label ID="lblimgdesc4" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button ID="btnPrevious4" runat="server" Text="Prev" CssClass="button" />
                        <asp:Button ID="btnPlay4" runat="server" Text="Play" CssClass="button" />
                        <asp:Button ID="btnNext4" runat="server" Text="Next" CssClass="button" />
                    </td>
                </tr>
            </table>
            <ajax:SlideShowExtender ID="SlideShowExtender4" runat="server" AutoPlay="true" ImageTitleLabelID="lblTitle4"
                ImageDescriptionLabelID="lblimgdesc4" Loop="true" NextButtonID="btnNext4" PreviousButtonID="btnPrevious4"
                PlayButtonID="btnPlay4" PlayButtonText="Play" StopButtonText="Stop" TargetControlID="imgslides4"
                SlideShowServicePath="Slideshow.asmx" SlideShowServiceMethod="GetSlides4">
            </ajax:SlideShowExtender>
        </asp:Panel>
    </div>
    <div>
        <asp:Panel ID="pnlCorvette" runat="server" Width="100%" Visible="true">
            <table style="border: Solid 3px #c0c0c0; width: 700px; height: 400px" cellpadding="0"
                cellspacing="0">
                <tr style="background-color: #c0c0c0">
                    <td style="height: 10%; color: White; font-weight: bold; font-size: larger" align="center">
                        <asp:Label ID="lblTitle5" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Image ID="imgslides5" runat="server" Height="400px" Width="700px" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Label ID="lblimgdesc5" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button ID="btnPrevious5" runat="server" Text="Prev" CssClass="button" />
                        <asp:Button ID="btnPlay5" runat="server" Text="Play" CssClass="button" />
                        <asp:Button ID="btnNext5" runat="server" Text="Next" CssClass="button" />
                    </td>
                </tr>
            </table>
            <ajax:SlideShowExtender ID="SlideShowExtender5" runat="server" AutoPlay="true" ImageTitleLabelID="lblTitle5"
                ImageDescriptionLabelID="lblimgdesc5" Loop="true" NextButtonID="btnNext5" PreviousButtonID="btnPrevious5"
                PlayButtonID="btnPlay5" PlayButtonText="Play" StopButtonText="Stop" TargetControlID="imgslides5"
                SlideShowServicePath="Slideshow.asmx" SlideShowServiceMethod="GetSlides5">
            </ajax:SlideShowExtender>
        </asp:Panel>
    </div>
    <div>
        <asp:Panel ID="pnlGSX" runat="server" Width="100%" Visible="true">
            <table style="border: Solid 3px #c0c0c0; width: 700px; height: 400px" cellpadding="0"
                cellspacing="0">
                <tr style="background-color: #c0c0c0">
                    <td style="height: 10%; color: White; font-weight: bold; font-size: larger" align="center">
                        <asp:Label ID="lblTitle6" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Image ID="imgslides6" runat="server" Height="400px" Width="700px" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Label ID="lblimgdesc6" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button ID="btnPrevious6" runat="server" Text="Prev" CssClass="button" />
                        <asp:Button ID="btnPlay6" runat="server" Text="Play" CssClass="button" />
                        <asp:Button ID="btnNext6" runat="server" Text="Next" CssClass="button" />
                    </td>
                </tr>
            </table>
            <ajax:SlideShowExtender ID="SlideShowExtender6" runat="server" AutoPlay="true" ImageTitleLabelID="lblTitle6"
                ImageDescriptionLabelID="lblimgdesc6" Loop="true" NextButtonID="btnNext6" PreviousButtonID="btnPrevious6"
                PlayButtonID="btnPlay6" PlayButtonText="Play" StopButtonText="Stop" TargetControlID="imgslides6"
                SlideShowServicePath="Slideshow.asmx" SlideShowServiceMethod="GetSlides6">
            </ajax:SlideShowExtender>
        </asp:Panel>
    </div>
    <div>
        <asp:Panel ID="pnlPlymouth" runat="server" Width="100%" Visible="true">
            <table style="border: Solid 3px #c0c0c0; width: 700px; height: 400px" cellpadding="0"
                cellspacing="0">
                <tr style="background-color: #c0c0c0">
                    <td style="height: 10%; color: White; font-weight: bold; font-size: larger" align="center">
                        <asp:Label ID="lblTitle7" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Image ID="imgslides7" runat="server" Height="400px" Width="700px" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Label ID="Label2" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button ID="btnPrevious7" runat="server" Text="Prev" CssClass="button" />
                        <asp:Button ID="btnPlay7" runat="server" Text="Play" CssClass="button" />
                        <asp:Button ID="btnNext7" runat="server" Text="Next" CssClass="button" />
                    </td>
                </tr>
            </table>
            <ajax:SlideShowExtender ID="SlideShowExtender7" runat="server" AutoPlay="true" ImageTitleLabelID="lblTitle7"
                ImageDescriptionLabelID="lblimgdesc7" Loop="true" NextButtonID="btnNext7" PreviousButtonID="btnPrevious7"
                PlayButtonID="btnPlay7" PlayButtonText="Play" StopButtonText="Stop" TargetControlID="imgslides7"
                SlideShowServicePath="Slideshow.asmx" SlideShowServiceMethod="GetSlides7">
            </ajax:SlideShowExtender>
        </asp:Panel>
    </div>
    <div>
        <asp:Panel ID="pnlShelby" runat="server" Width="100%" Visible="true">
            <table style="border: Solid 3px #c0c0c0; width: 700px; height: 400px" cellpadding="0"
                cellspacing="0">
                <tr style="background-color: #c0c0c0">
                    <td style="height: 10%; color: White; font-weight: bold; font-size: larger" align="center">
                        <asp:Label ID="lblTitle8" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Image ID="imgslides8" runat="server" Height="400px" Width="700px" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Label ID="lblimgdesc8" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button ID="btnPrevious8" runat="server" Text="Prev" CssClass="button" />
                        <asp:Button ID="btnPlay8" runat="server" Text="Play" CssClass="button" />
                        <asp:Button ID="btnNext8" runat="server" Text="Next" CssClass="button" />
                    </td>
                </tr>
            </table>
            <ajax:SlideShowExtender ID="SlideShowExtender8" runat="server" AutoPlay="true" ImageTitleLabelID="lblTitle8"
                ImageDescriptionLabelID="lblimgdesc8" Loop="true" NextButtonID="btnNext8" PreviousButtonID="btnPrevious8"
                PlayButtonID="btnPlay8" PlayButtonText="Play" StopButtonText="Stop" TargetControlID="imgslides8"
                SlideShowServicePath="Slideshow.asmx" SlideShowServiceMethod="GetSlides8">
            </ajax:SlideShowExtender>
        </asp:Panel>
    </div>
    <div>
        <asp:Panel ID="pnlCamaroZ28" runat="server" Width="100%" Visible="true">
            <table style="border: Solid 3px #c0c0c0; width: 700px; height: 400px" cellpadding="0"
                cellspacing="0">
                <tr style="background-color: #c0c0c0">
                    <td style="height: 10%; color: White; font-weight: bold; font-size: larger" align="center">
                        <asp:Label ID="lblTitle9" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Image ID="imgslides9" runat="server" Height="400px" Width="700px" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Label ID="lblimgdesc9" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button ID="btnPrevious9" runat="server" Text="Prev" CssClass="button" />
                        <asp:Button ID="btnPlay9" runat="server" Text="Play" CssClass="button" />
                        <asp:Button ID="btnNext9" runat="server" Text="Next" CssClass="button" />
                    </td>
                </tr>
            </table>
            <ajax:SlideShowExtender ID="SlideShowExtender9" runat="server" AutoPlay="true" ImageTitleLabelID="lblTitle9"
                ImageDescriptionLabelID="lblimgdesc9" Loop="true" NextButtonID="btnNext9" PreviousButtonID="btnPrevious9"
                PlayButtonID="btnPlay9" PlayButtonText="Play" StopButtonText="Stop" TargetControlID="imgslides9"
                SlideShowServicePath="Slideshow.asmx" SlideShowServiceMethod="GetSlides9">
            </ajax:SlideShowExtender>
        </asp:Panel>
    </div>
    <div>
        <asp:Panel ID="pnlCamaroZL1" runat="server" Width="100%" Visible="true">
            <table style="border: Solid 3px #c0c0c0; width: 700px; height: 400px" cellpadding="0"
                cellspacing="0">
                <tr style="background-color: #c0c0c0">
                    <td style="height: 10%; color: White; font-weight: bold; font-size: larger" align="center">
                        <asp:Label ID="lblTitle10" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Image ID="imgslides10" runat="server" Height="400px" Width="700px" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Label ID="lblimgdesc10" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button ID="btnPrevious10" runat="server" Text="Prev" CssClass="button" />
                        <asp:Button ID="btnPlay10" runat="server" Text="Play" CssClass="button" />
                        <asp:Button ID="btnNext10" runat="server" Text="Next" CssClass="button" />
                    </td>
                </tr>
            </table>
            <ajax:SlideShowExtender ID="SlideShowExtender10" runat="server" AutoPlay="true" ImageTitleLabelID="lblTitle10"
                ImageDescriptionLabelID="lblimgdesc10" Loop="true" NextButtonID="btnNext10" PreviousButtonID="btnPrevious10"
                PlayButtonID="btnPlay10" PlayButtonText="Play" StopButtonText="Stop" TargetControlID="imgslides10"
                SlideShowServicePath="Slideshow.asmx" SlideShowServiceMethod="GetSlides10">
            </ajax:SlideShowExtender>
        </asp:Panel>
    </div>
</asp:Content>
